<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>第一题</title>
</head>

<body>
    <script>
        let date = prompt('今天是周几')
        switch (date) {
            case '星期一':
                alert('对，今天是周一')
                break
            case '星期二':
                alert('对，今天是周二')
                break
            case '星期三':
                alert('对，今天是周三')
                break
            case '星期四':
                alert('对，今天是周四')
                break
            case '星期五':
                alert('对，今天是周五')
                break
            case '星期六':
                alert('对，今天是周六')
                break
            case '星期日':
                alert('对，今天是周日')
                break
            default:
                alert('傻鸟，看题')

        }
    </script>
</body>

</html>